# 三行三列

for i in range(1,4):
    for j in range(1,4) :
        print('*', end="")
    print()
print('---------------------------------------------')

# 正三角
for i in range(1,6):
    for j in range(1,i+1) :
        print('*', end="")
    print()
print('---------------------------------------------')

# 倒三角

for i in range(0,6):
    for j in range(1,6-i) :
        print('*', end="")
    print()

print('---------------------------------------------')

# 等腰三角
""""
        *
       ***
      *****
     *******
    *********
"""

for i in range(1,6):
    for v in range(1,6-i) :
        print(' ',end="")
    for j in range(1,i*2) :
        print('*', end='')
    print()


print('===========================================')

# 棱形

for i in range(1,8):
    for n in range(1,abs(5-i)) :
        print(' ', end="")
    for j in range(1, i*2) :
        print('*',end="")
    print()


print (7//3)

